<template>
	<view>
		<view style="text-align: center;">样式</view>
		<view style="display: flex;">
			<view class="box1">测试文字</view>
			<view class="box2">
				<text>123</text>
			</view>
		</view>
		<view class="iconfont icon-app">

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	@import url("./a.css");

	.box1 {
		width: 375rpx;
		height: 375rpx;
		/* 局部样式会覆盖全局样式 */
		background-color: $global-color;
		font-size: 60rpx;
	}

	.box2 {
		width: 375rpx;
		height: 375rpx;
		background-color: #5352ed;

		text {
			color: pink;
		}
	}
</style>
